Skip to content

[Precogs Alert] Cross-Site Scripting (XSS) detected (CWE-79, Risk: High)#8

Open
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-k99qi9hv
Open

[Precogs Alert] Cross-Site Scripting (XSS) detected (CWE-79, Risk: High)#8
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-k99qi9hv

Conversation

@sameer6pre
Copy link
Owner

Vulnerability Details

  • File Path: orbit-app/src/pages/BlogsPage.jsx
  • Vulnerability Type: Cross-Site Scripting (XSS)
  • Risk Level: High

Explanation:
The code directly assigns user-controlled input (e.target.value) to a function (setContent) without sanitization or validation. If setContent renders this input into the DOM, it could lead to a Cross-Site Scripting (XSS) vulnerability.

Please review and address the issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant